<template>
  <div>
    <Update :formDate="formLabel" :isEdit="true" />
  </div>
</template>
<script>
import Update from "../add_doctor/Update.vue";
import { mapGetters } from "vuex";
export default {
  components: {
    Update,
  },
  computed: {
    ...mapGetters(["getDcotorListInfo"]),
  },
  data() {
    return {
      formLabel: {
        name: "",
        location: "",
        gender: "",
        phone: "",
        position: "",
        post: "",
        portrait: "",
        description: "",
        contribution: "",
        detail: "",
      },
    };
  },
  mounted() {
    this.formLabel = this.getDcotorListInfo;
  },
};
</script>
<style lang="scss" scoped>
</style>
